package com.ce.server.mapper;

import com.ce.server.pojo.AdminRole;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author 郑爽
 * @since 2021-11-14
 */
public interface AdminRoleMapper extends BaseMapper<AdminRole> {

  /**
   * 插入角色记录
   *
   * @param adminWno
   * @param rids
   * @return
   */
  Integer insertRoles(@Param("adminWno") String adminWno, @Param("rids") Integer[] rids);
}
